
package android.net.quic;

import android.net.quic.enumerations.QuicVersion;

/*
 * Copyright (C) 2013  Richard Schilling. All rights reserved.
 * contact: coderroadie@gmail.com
 * 
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 */

public final class QuicConstants {

    private QuicConstants() {
        throw new UnsupportedOperationException("never instantiate");
    }

    public static final QuicVersion CURRENT_VERSION = QuicVersion.QUIC_VERSION_10;
    public static final QuicVersion VERSION_MAX = QuicVersion.QUIC_VERSION_10;
    public static final QuicVersion VERSION_MIN = QuicVersion.QUIC_VERSION_9;

    /**
     * This vector contains QUIC versions which we currently support. This
     * should be ordered such that the highest supported version is the first
     * element, with subsequent elements in descending order (versions can be
     * skipped as necessary).
     */
    public final static QuicVersion[] kSupportedQuicVersions =
    {
            QuicVersion.QUIC_VERSION_10, QuicVersion.QUIC_VERSION_9
    };

}
